My server is behind a router. How can I see my website correctly? [closed]

Posted by Tokyo Dan on Game Development See other posts from Game Development or by Tokyo Dan
Published on 2011-03-19T21:33:18Z Indexed on 2011/03/20 0:18 UTC
Read the original article Hit count: 309

Filed under:
|

I'm running a web server (Ubuntu) on my local home network. I'm behind a router. On the WAN I have a direct IP. When not on my home network and accessing my website via the WAN direct IP my website displays correctly and everything works.

On my home LAN behind the router, accessing my website via the WAN direct gets me to my router's admin login page. This is normal. But...

Accessing my website (via it's home LAN IP address) from another computer on my home LAN gets me to the website but the layout display is broken and clicking on any link takes me to the WAN direct IP (my router's Admin login page).

How can i get my website to display properly and the links to work when accessing it from my home LAN?

© Game Development or respective owner

Related posts about network

Related posts about server